package com.wutma.system.domain.question.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;

@Getter
@Setter
public class QuestionAddDTO {

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotNull(message = "难度不能为空")
    private Integer difficulty;

    private Long timeLimit;

    private Long spaceLimit;

    @NotBlank(message = "内容不能为空")
    private String content;

    @NotNull(message = "测试用例不能为Null")
    private String questionCase;

    private String defaultCode;

    private String mainFuc;
}
